var express = require('express');
var router = express.Router();
var volumeDml=require("../dml/volumeDml");

/* GET users listing. */
router.get('/', function(req, res, next) {
  res.send('respond with a resource');
});



router.get("/register",function(req,res,next){
    volumeDml.register(req,res,next);
});

router.get("/userLogin",function(req,res,next){
    volumeDml.userLogin(req,res,next);
});

module.exports = router;
